package com.ocom.human.feignclient;

import com.ocom.common.constant.PayConfigUrl;
import com.ocom.common.constant.PayHandleUrl;
import com.ocom.common.request.payconfig.AddCardInfoVo;
import com.ocom.common.resp.RespMachMessage;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.pay.UpdateListRechargeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "payconfig")
public  interface PayConfigClientService {

    @PostMapping(PayConfigUrl.Url_insertWhiteInfo)
    public Result White(@RequestParam("companyId") Long companyId,@RequestParam("pId") Long pId);

    @PostMapping(PayConfigUrl.URLP_getWxInfo)
    public Result getWxInfo(@RequestParam("comId") Long comId ,
                            @RequestParam("merchId")  Long merchId,
                            @RequestParam("appName") String appName);

}
